package com.codechuan.hallo_web.mapper;

import com.codechuan.hallo_web.entity.SysUserToken;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;

public interface SysUserTokenMapper {
    int deleteByPrimaryKey(String account);

    int insert(SysUserToken record);

    int insertSelective(SysUserToken record);

    SysUserToken selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SysUserToken record);

    int updateByPrimaryKey(SysUserToken record);

    ArrayList<SysUserToken> selectToeknList(String account);

    int updateUserTokenStatus(@Param("token") String token,@Param("status") String status);

    int deleteUserMinToken(@Param("token") String token,@Param("account")  String account);
}